package com.wct.struct;

import javolution.io.Struct;

public class DeviceGps extends Struct
{
    // public final DateTime Time = inner(new DateTime());
    public final Signed16 LatDegree = new Signed16(); // 度

    public final Signed16 LatCent = new Signed16(); // 分

    public final Float32 LatSecond = new Float32(); // 秒

    public final Signed16 LonDegree = new Signed16(); // 度

    public final Signed16 LonCent = new Signed16(); // 分

    public final Float32 LonSecond = new Float32(); // 秒

    public final Float32 Speed = new Float32(); // 速度

    public final Float32 Direct = new Float32(); // 航向

    public final Float32 heightGgroud = new Float32(); // 水平面高度

    public final Float32 HeightSea = new Float32(); // 海拔高度

    public final Unsigned8 NS = new Unsigned8();

    public final Unsigned8 EW = new Unsigned8();

    public final Float32 Batterry = new Float32();

    @Override
    public boolean isPacked()
    {
        return true; // MyStruct is packed.
    }
}
